package com.chinafree.permission.model.po;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;

/**
 * @description: 因人员id类型与xinheyun-core中不匹配,故重新定义PO基类
 * @author: cuijh
 * @modified By: cuijh
 * @date: Created in 2021/7/13 19:51
 * @version:v1.0
 */
@Setter
@Getter
public class BaseNOSPEntity {

    @TableId(type = IdType.AUTO)
    private Long id;
    @TableField(fill = FieldFill.INSERT)
    private String createName;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String updateName;
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
    @Version
    private Integer version;
    private Integer deleted;;

}
